class A5_2 {
  public int getNumber(int a){
    return a+1;
  }
}
class B5_2 extends A5_2 {
  public int getNumber(int a){
    return a+100;
  }
  public static void main (String args[]){
    A5_2 a=new A5_2();
    System.out.println(a.getNumber(10));
    a= new B5_2();
    System.out.println(a.getNumber(10));
  }
}
